.class public Lcom/xingbook/ui/c/b;
.super Landroid/view/ViewGroup;

# interfaces
.implements Landroid/view/animation/Animation$AnimationListener;
.implements Lcom/xingbook/d/d;


# annotations
.annotation build Landroid/annotation/SuppressLint;
    value = {
        "ViewConstructor"
    }
.end annotation


# instance fields
.field protected a:Landroid/app/Activity;

.field protected b:Landroid/app/ProgressDialog;

.field protected c:Lcom/xingbook/park/view/k;

.field protected d:Lcom/xingbook/d/a;

.field protected e:Lcn/a/a/a;

.field protected f:I

.field protected g:I

.field protected h:I

.field protected i:[Lcom/xingbook/ui/b/a;

.field protected j:[I

.field protected k:[I

.field protected l:I

.field protected m:Z

.field protected n:I

.field protected o:Lcom/xingbook/d/c;

.field protected p:Lcom/xingbook/c/o;

.field private q:I

.field private r:Lcom/xingbook/c/a;

.field private s:Z

.field private t:Z

.field private u:Z

.field private v:Z

.field private w:Lcom/xingbook/ui/c/a;

.field private x:Landroid/os/Handler;

.field private y:Landroid/os/Handler;


# direct methods
.method public constructor <init>(Landroid/app/Activity;Lcom/xingbook/c/o;)V
    .locals 7

    const/4 v6, 0x3

    const/4 v3, -0x1

    const/4 v1, 0x0

    invoke-direct {p0, p1}, Landroid/view/ViewGroup;-><init>(Landroid/content/Context;)V

    iput v3, p0, Lcom/xingbook/ui/c/b;->g:I

    iput v3, p0, Lcom/xingbook/ui/c/b;->l:I

    iput-boolean v1, p0, Lcom/xingbook/ui/c/b;->m:Z

    iput v1, p0, Lcom/xingbook/ui/c/b;->n:I

    iput-boolean v1, p0, Lcom/xingbook/ui/c/b;->s:Z

    iput-boolean v1, p0, Lcom/xingbook/ui/c/b;->t:Z

    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/xingbook/ui/c/b;->u:Z

    iput-boolean v1, p0, Lcom/xingbook/ui/c/b;->v:Z

    new-instance v0, Lcom/xingbook/ui/c/f;

    invoke-direct {v0, p0}, Lcom/xingbook/ui/c/f;-><init>(Lcom/xingbook/ui/c/b;)V

    iput-object v0, p0, Lcom/xingbook/ui/c/b;->x:Landroid/os/Handler;

    new-instance v0, Lcom/xingbook/ui/c/g;

    invoke-direct {v0, p0}, Lcom/xingbook/ui/c/g;-><init>(Lcom/xingbook/ui/c/b;)V

    iput-object v0, p0, Lcom/xingbook/ui/c/b;->y:Landroid/os/Handler;

    iput-object p1, p0, Lcom/xingbook/ui/c/b;->a:Landroid/app/Activity;

    iput-object p2, p0, Lcom/xingbook/ui/c/b;->p:Lcom/xingbook/c/o;

    new-instance v0, Landroid/view/ViewGroup$LayoutParams;

    invoke-direct {v0, v3, v3}, Landroid/view/ViewGroup$LayoutParams;-><init>(II)V

    invoke-virtual {p0, v0}, Lcom/xingbook/ui/c/b;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    new-array v0, v6, [Lcom/xingbook/ui/b/a;

    iput-object v0, p0, Lcom/xingbook/ui/c/b;->i:[Lcom/xingbook/ui/b/a;

    new-array v0, v6, [I

    iput-object v0, p0, Lcom/xingbook/ui/c/b;->j:[I

    new-array v0, v6, [I

    iput-object v0, p0, Lcom/xingbook/ui/c/b;->k:[I

    move v0, v1

    :goto_0
    if-lt v0, v6, :cond_0

    iput v3, p0, Lcom/xingbook/ui/c/b;->f:I

    move v0, v1

    :goto_1
    if-lt v0, v6, :cond_1

    invoke-static {}, Lcom/xingbook/c/a;->a()Lcom/xingbook/c/a;

    move-result-object v0

    iput-object v0, p0, Lcom/xingbook/ui/c/b;->r:Lcom/xingbook/c/a;

    new-instance v0, Lcom/xingbook/park/view/k;

    invoke-direct {v0, p1, p0}, Lcom/xingbook/park/view/k;-><init>(Landroid/content/Context;Landroid/view/ViewGroup;)V

    iput-object v0, p0, Lcom/xingbook/ui/c/b;->c:Lcom/xingbook/park/view/k;

    return-void

    :cond_0
    iget-object v2, p0, Lcom/xingbook/ui/c/b;->k:[I

    aput v3, v2, v0

    add-int/lit8 v0, v0, 0x1

    goto :goto_0

    :cond_1
    iget-object v2, p0, Lcom/xingbook/ui/c/b;->j:[I

    aput v1, v2, v0

    iget-object v2, p0, Lcom/xingbook/ui/c/b;->i:[Lcom/xingbook/ui/b/a;

    new-instance v3, Lcom/xingbook/ui/b/q;

    iget-object v4, p0, Lcom/xingbook/ui/c/b;->a:Landroid/app/Activity;

    iget-object v5, p0, Lcom/xingbook/ui/c/b;->p:Lcom/xingbook/c/o;

    invoke-direct {v3, v4, v5, p0}, Lcom/xingbook/ui/b/q;-><init>(Landroid/app/Activity;Lcom/xingbook/c/o;Lcom/xingbook/d/d;)V

    aput-object v3, v2, v0

    iget-object v2, p0, Lcom/xingbook/ui/c/b;->i:[Lcom/xingbook/ui/b/a;

    aget-object v2, v2, v0

    const/4 v3, 0x4

    invoke-virtual {v2, v3}, Lcom/xingbook/ui/b/a;->setVisibility(I)V

    iget-object v2, p0, Lcom/xingbook/ui/c/b;->i:[Lcom/xingbook/ui/b/a;

    aget-object v2, v2, v0

    sget v3, Lcom/xingbook/c/e;->c:I

    sget v4, Lcom/xingbook/c/e;->d:I

    invoke-virtual {v2, v1, v1, v3, v4}, Lcom/xingbook/ui/b/a;->layout(IIII)V

    iget-object v2, p0, Lcom/xingbook/ui/c/b;->i:[Lcom/xingbook/ui/b/a;

    aget-object v2, v2, v0

    invoke-virtual {p0, v2}, Lcom/xingbook/ui/c/b;->addView(Landroid/view/View;)V

    add-int/lit8 v0, v0, 0x1

    goto :goto_1
.end method

.method private a(I)V
    .locals 3

    iget-object v0, p0, Lcom/xingbook/ui/c/b;->i:[Lcom/xingbook/ui/b/a;

    iget v1, p0, Lcom/xingbook/ui/c/b;->f:I

    aget-object v0, v0, v1

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/xingbook/ui/b/a;->setVisibility(I)V

    iget v0, p0, Lcom/xingbook/ui/c/b;->g:I

    const/4 v1, -0x1

    if-le v0, v1, :cond_1

    iget v0, p0, Lcom/xingbook/ui/c/b;->g:I

    iget v1, p0, Lcom/xingbook/ui/c/b;->f:I

    if-eq v0, v1, :cond_0

    iget-object v0, p0, Lcom/xingbook/ui/c/b;->i:[Lcom/xingbook/ui/b/a;

    iget v1, p0, Lcom/xingbook/ui/c/b;->g:I

    aget-object v0, v0, v1

    invoke-virtual {v0}, Lcom/xingbook/ui/b/a;->i()V

    :cond_0
    :goto_0
    iget-object v0, p0, Lcom/xingbook/ui/c/b;->i:[Lcom/xingbook/ui/b/a;

    iget v1, p0, Lcom/xingbook/ui/c/b;->f:I

    aget-object v0, v0, v1

    invoke-virtual {v0}, Lcom/xingbook/ui/b/a;->getPage()Lcn/a/a/c/a;

    move-result-object v0

    invoke-virtual {v0}, Lcn/a/a/c/a;->f()I

    move-result v0

    invoke-static {v0, p1}, Lcom/xingbook/anima/a;->a(II)Landroid/view/animation/AnimationSet;

    move-result-object v0

    if-eqz v0, :cond_2

    invoke-virtual {v0, p0}, Landroid/view/animation/Animation;->setAnimationListener(Landroid/view/animation/Animation$AnimationListener;)V

    iget-object v1, p0, Lcom/xingbook/ui/c/b;->i:[Lcom/xingbook/ui/b/a;

    iget v2, p0, Lcom/xingbook/ui/c/b;->f:I

    aget-object v1, v1, v2

    invoke-virtual {v1, v0}, Lcom/xingbook/ui/b/a;->startAnimation(Landroid/view/animation/Animation;)V

    :goto_1
    return-void

    :cond_1
    invoke-static {}, Lcom/xingbook/park/activity/FCViewAct;->a()Lcom/xingbook/park/activity/FCViewAct;

    move-result-object v0

    if-eqz v0, :cond_0

    invoke-virtual {v0}, Lcom/xingbook/park/activity/FCViewAct;->b()Lcom/xingbook/ui/b/n;

    move-result-object v0

    invoke-virtual {v0}, Lcom/xingbook/ui/b/n;->i()V

    goto :goto_0

    :cond_2
    invoke-direct {p0}, Lcom/xingbook/ui/c/b;->n()V

    goto :goto_1
.end method

.method private a(II)V
    .locals 10

    const/4 v2, 0x0

    const/4 v9, 0x4

    const/4 v1, 0x0

    const/4 v8, 0x1

    const/4 v5, -0x1

    iput-boolean v1, p0, Lcom/xingbook/ui/c/b;->t:Z

    iput p1, p0, Lcom/xingbook/ui/c/b;->f:I

    invoke-direct {p0, v5, v1}, Lcom/xingbook/ui/c/b;->c(II)V

    iget-object v0, p0, Lcom/xingbook/ui/c/b;->i:[Lcom/xingbook/ui/b/a;

    iget v3, p0, Lcom/xingbook/ui/c/b;->f:I

    aget-object v0, v0, v3

    invoke-virtual {v0}, Lcom/xingbook/ui/b/a;->f()V

    invoke-direct {p0}, Lcom/xingbook/ui/c/b;->p()V

    iget-object v0, p0, Lcom/xingbook/ui/c/b;->a:Landroid/app/Activity;

    check-cast v0, Lcom/xingbook/park/activity/ReadingAct;

    iget v3, p0, Lcom/xingbook/ui/c/b;->h:I

    invoke-virtual {v0, v3}, Lcom/xingbook/park/activity/ReadingAct;->b(I)V

    iget-object v0, p0, Lcom/xingbook/ui/c/b;->a:Landroid/app/Activity;

    check-cast v0, Lcom/xingbook/park/activity/ReadingAct;

    invoke-virtual {v0}, Lcom/xingbook/park/activity/ReadingAct;->c()V

    iget v0, p0, Lcom/xingbook/ui/c/b;->q:I

    if-ne v0, v8, :cond_0

    iget-object v0, p0, Lcom/xingbook/ui/c/b;->c:Lcom/xingbook/park/view/k;

    invoke-virtual {v0}, Lcom/xingbook/park/view/k;->a()V

    :cond_0
    if-eq p2, v5, :cond_9

    iget v0, p0, Lcom/xingbook/ui/c/b;->g:I

    if-le v0, v5, :cond_8

    iget-object v0, p0, Lcom/xingbook/ui/c/b;->r:Lcom/xingbook/c/a;

    const/16 v3, 0x8

    invoke-virtual {v0, v3}, Lcom/xingbook/c/a;->a(I)V

    iget-object v0, p0, Lcom/xingbook/ui/c/b;->i:[Lcom/xingbook/ui/b/a;

    iget v3, p0, Lcom/xingbook/ui/c/b;->g:I

    aget-object v0, v0, v3

    invoke-virtual {v0}, Lcom/xingbook/ui/b/a;->bringToFront()V

    iget-object v0, p0, Lcom/xingbook/ui/c/b;->i:[Lcom/xingbook/ui/b/a;

    iget v3, p0, Lcom/xingbook/ui/c/b;->g:I

    aget-object v0, v0, v3

    invoke-virtual {v0}, Lcom/xingbook/ui/b/a;->getPage()Lcn/a/a/c/a;

    move-result-object v0

    invoke-virtual {v0}, Lcn/a/a/c/a;->h()I

    move-result v7

    iget v0, p0, Lcom/xingbook/ui/c/b;->q:I

    if-ne v0, v8, :cond_1

    iget-object v0, p0, Lcom/xingbook/ui/c/b;->c:Lcom/xingbook/park/view/k;

    invoke-virtual {v0, v1}, Lcom/xingbook/park/view/k;->a(Z)V

    :cond_1
    if-nez v7, :cond_2

    invoke-direct {p0, p2}, Lcom/xingbook/ui/c/b;->a(I)V

    :cond_2
    iget-object v0, p0, Lcom/xingbook/ui/c/b;->i:[Lcom/xingbook/ui/b/a;

    iget v3, p0, Lcom/xingbook/ui/c/b;->g:I

    aget-object v0, v0, v3

    invoke-virtual {v0}, Lcom/xingbook/ui/b/a;->getPage()Lcn/a/a/c/a;

    move-result-object v0

    invoke-virtual {v0}, Lcn/a/a/c/a;->g()I

    move-result v0

    const/16 v3, 0x15

    if-ne v0, v3, :cond_6

    iget-object v0, p0, Lcom/xingbook/ui/c/b;->w:Lcom/xingbook/ui/c/a;

    if-nez v0, :cond_3

    new-instance v0, Lcom/xingbook/ui/c/a;

    sget v3, Lcom/xingbook/c/e;->c:I

    sget v4, Lcom/xingbook/c/e;->d:I

    invoke-direct {v0, p0, v3, v4}, Lcom/xingbook/ui/c/a;-><init>(Landroid/view/View;II)V

    iput-object v0, p0, Lcom/xingbook/ui/c/b;->w:Lcom/xingbook/ui/c/a;

    :cond_3
    iget-object v0, p0, Lcom/xingbook/ui/c/b;->w:Lcom/xingbook/ui/c/a;

    invoke-virtual {v0, p2}, Lcom/xingbook/ui/c/a;->a(I)V

    const/4 v0, 0x0

    iget v3, p0, Lcom/xingbook/ui/c/b;->g:I

    if-le v3, v5, :cond_d

    iget-object v0, p0, Lcom/xingbook/ui/c/b;->i:[Lcom/xingbook/ui/b/a;

    iget v3, p0, Lcom/xingbook/ui/c/b;->g:I

    aget-object v0, v0, v3

    const/high16 v4, 0x3f80

    const/high16 v5, 0x3f80

    move v3, v2

    invoke-virtual/range {v0 .. v5}, Lcom/xingbook/ui/b/a;->a(ZFFFF)Landroid/graphics/Bitmap;

    move-result-object v0

    move-object v6, v0

    :goto_0
    iget-object v0, p0, Lcom/xingbook/ui/c/b;->i:[Lcom/xingbook/ui/b/a;

    iget v1, p0, Lcom/xingbook/ui/c/b;->f:I

    aget-object v0, v0, v1

    const v2, 0x3e2aaaab

    const v3, 0x3e2aaaab

    const v4, 0x3f2aaaab

    const v5, 0x3f2aaaab

    move v1, v8

    invoke-virtual/range {v0 .. v5}, Lcom/xingbook/ui/b/a;->a(ZFFFF)Landroid/graphics/Bitmap;

    move-result-object v0

    iget-object v1, p0, Lcom/xingbook/ui/c/b;->w:Lcom/xingbook/ui/c/a;

    invoke-virtual {v1, v6, v0}, Lcom/xingbook/ui/c/a;->a(Landroid/graphics/Bitmap;Landroid/graphics/Bitmap;)V

    iget-object v0, p0, Lcom/xingbook/ui/c/b;->i:[Lcom/xingbook/ui/b/a;

    iget v1, p0, Lcom/xingbook/ui/c/b;->g:I

    aget-object v0, v0, v1

    invoke-virtual {v0, v9}, Lcom/xingbook/ui/b/a;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/ui/c/b;->w:Lcom/xingbook/ui/c/a;

    invoke-virtual {v0}, Lcom/xingbook/ui/c/a;->a()V

    iget-object v0, p0, Lcom/xingbook/ui/c/b;->w:Lcom/xingbook/ui/c/a;

    const/16 v1, 0x9c4

    invoke-virtual {v0, v1}, Lcom/xingbook/ui/c/a;->b(I)V

    invoke-virtual {p0}, Lcom/xingbook/ui/c/b;->postInvalidate()V

    invoke-static {}, Landroid/os/Message;->obtain()Landroid/os/Message;

    move-result-object v0

    iput v8, v0, Landroid/os/Message;->what:I

    iput p2, v0, Landroid/os/Message;->arg1:I

    iput v7, v0, Landroid/os/Message;->arg2:I

    iget-object v1, p0, Lcom/xingbook/ui/c/b;->x:Landroid/os/Handler;

    const-wide/16 v2, 0x5dc

    invoke-virtual {v1, v0, v2, v3}, Landroid/os/Handler;->sendMessageDelayed(Landroid/os/Message;J)Z

    :cond_4
    :goto_1
    iget-object v0, p0, Lcom/xingbook/ui/c/b;->d:Lcom/xingbook/d/a;

    invoke-virtual {v0}, Lcom/xingbook/d/a;->q()Lcn/a/a/a;

    move-result-object v0

    invoke-virtual {v0}, Lcn/a/a/a;->d()Lcn/a/a/c;

    move-result-object v0

    invoke-virtual {v0}, Lcn/a/a/c;->a()I

    move-result v0

    if-ne v0, v8, :cond_c

    iget-object v0, p0, Lcom/xingbook/ui/c/b;->i:[Lcom/xingbook/ui/b/a;

    iget v1, p0, Lcom/xingbook/ui/c/b;->f:I

    aget-object v0, v0, v1

    invoke-virtual {v0}, Lcom/xingbook/ui/b/a;->getPage()Lcn/a/a/c/a;

    move-result-object v0

    invoke-virtual {v0}, Lcn/a/a/c/a;->l()I

    move-result v0

    sget v1, Lcn/a/a/b;->a:I

    if-ne v0, v1, :cond_5

    iget-object v0, p0, Lcom/xingbook/ui/c/b;->d:Lcom/xingbook/d/a;

    invoke-virtual {v0}, Lcom/xingbook/d/a;->u()Lcom/xingbook/b/b;

    move-result-object v0

    if-eqz v0, :cond_5

    instance-of v1, v0, Lcom/xingbook/b/f;

    if-eqz v1, :cond_5

    check-cast v0, Lcom/xingbook/b/f;

    iget v1, p0, Lcom/xingbook/ui/c/b;->h:I

    invoke-virtual {v0, v1}, Lcom/xingbook/b/f;->a(I)V

    :cond_5
    :goto_2
    iget v0, p0, Lcom/xingbook/ui/c/b;->h:I

    add-int/lit8 v0, v0, -0x1

    invoke-direct {p0, v0}, Lcom/xingbook/ui/c/b;->b(I)V

    iget v0, p0, Lcom/xingbook/ui/c/b;->h:I

    add-int/lit8 v0, v0, 0x1

    invoke-direct {p0, v0}, Lcom/xingbook/ui/c/b;->b(I)V

    return-void

    :cond_6
    iget-object v0, p0, Lcom/xingbook/ui/c/b;->i:[Lcom/xingbook/ui/b/a;

    iget v1, p0, Lcom/xingbook/ui/c/b;->g:I

    aget-object v0, v0, v1

    invoke-virtual {v0}, Lcom/xingbook/ui/b/a;->getPage()Lcn/a/a/c/a;

    move-result-object v0

    invoke-virtual {v0}, Lcn/a/a/c/a;->g()I

    move-result v0

    invoke-static {v0, p2}, Lcom/xingbook/anima/a;->a(II)Landroid/view/animation/AnimationSet;

    move-result-object v0

    if-eqz v0, :cond_7

    new-instance v1, Lcom/xingbook/ui/c/d;

    invoke-direct {v1, p0, v7, p2}, Lcom/xingbook/ui/c/d;-><init>(Lcom/xingbook/ui/c/b;II)V

    invoke-virtual {v0, v1}, Landroid/view/animation/Animation;->setAnimationListener(Landroid/view/animation/Animation$AnimationListener;)V

    iget-object v1, p0, Lcom/xingbook/ui/c/b;->i:[Lcom/xingbook/ui/b/a;

    iget v2, p0, Lcom/xingbook/ui/c/b;->g:I

    aget-object v1, v1, v2

    invoke-virtual {v1, v0}, Lcom/xingbook/ui/b/a;->startAnimation(Landroid/view/animation/Animation;)V

    goto :goto_1

    :cond_7
    iget-object v0, p0, Lcom/xingbook/ui/c/b;->i:[Lcom/xingbook/ui/b/a;

    iget v1, p0, Lcom/xingbook/ui/c/b;->g:I

    aget-object v0, v0, v1

    invoke-virtual {v0, v9}, Lcom/xingbook/ui/b/a;->setVisibility(I)V

    if-ne v7, v8, :cond_4

    invoke-direct {p0, p2}, Lcom/xingbook/ui/c/b;->a(I)V

    goto :goto_1

    :cond_8
    invoke-direct {p0, p2}, Lcom/xingbook/ui/c/b;->a(I)V

    goto :goto_1

    :cond_9
    iget v0, p0, Lcom/xingbook/ui/c/b;->g:I

    if-le v0, v5, :cond_a

    iget-object v0, p0, Lcom/xingbook/ui/c/b;->i:[Lcom/xingbook/ui/b/a;

    iget v2, p0, Lcom/xingbook/ui/c/b;->g:I

    aget-object v0, v0, v2

    invoke-virtual {v0, v9}, Lcom/xingbook/ui/b/a;->setVisibility(I)V

    :cond_a
    iget-object v0, p0, Lcom/xingbook/ui/c/b;->i:[Lcom/xingbook/ui/b/a;

    iget v2, p0, Lcom/xingbook/ui/c/b;->f:I

    aget-object v0, v0, v2

    invoke-virtual {v0, v1}, Lcom/xingbook/ui/b/a;->setVisibility(I)V

    iget v0, p0, Lcom/xingbook/ui/c/b;->g:I

    if-le v0, v5, :cond_b

    iget v0, p0, Lcom/xingbook/ui/c/b;->g:I

    iget v1, p0, Lcom/xingbook/ui/c/b;->f:I

    if-eq v0, v1, :cond_b

    iget-object v0, p0, Lcom/xingbook/ui/c/b;->i:[Lcom/xingbook/ui/b/a;

    iget v1, p0, Lcom/xingbook/ui/c/b;->g:I

    aget-object v0, v0, v1

    invoke-virtual {v0}, Lcom/xingbook/ui/b/a;->i()V

    :cond_b
    invoke-direct {p0}, Lcom/xingbook/ui/c/b;->n()V

    goto/16 :goto_1

    :cond_c
    iget-object v0, p0, Lcom/xingbook/ui/c/b;->d:Lcom/xingbook/d/a;

    invoke-virtual {v0}, Lcom/xingbook/d/a;->q()Lcn/a/a/a;

    move-result-object v0

    invoke-virtual {v0}, Lcn/a/a/a;->d()Lcn/a/a/c;

    move-result-object v0

    invoke-virtual {v0}, Lcn/a/a/c;->a()I

    goto/16 :goto_2

    :cond_d
    move-object v6, v0

    goto/16 :goto_0
.end method

.method private a(ILcom/xingbook/ui/b/a;)V
    .locals 2

    iget-object v0, p0, Lcom/xingbook/ui/c/b;->i:[Lcom/xingbook/ui/b/a;

    aget-object v0, v0, p1

    if-eq v0, p2, :cond_0

    iget-object v0, p0, Lcom/xingbook/ui/c/b;->i:[Lcom/xingbook/ui/b/a;

    aget-object v0, v0, p1

    invoke-virtual {p0, v0}, Lcom/xingbook/ui/c/b;->removeView(Landroid/view/View;)V

    iget-object v0, p0, Lcom/xingbook/ui/c/b;->i:[Lcom/xingbook/ui/b/a;

    aput-object p2, v0, p1

    iget-object v0, p0, Lcom/xingbook/ui/c/b;->i:[Lcom/xingbook/ui/b/a;

    aget-object v0, v0, p1

    const/4 v1, 0x4

    invoke-virtual {v0, v1}, Lcom/xingbook/ui/b/a;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/ui/c/b;->i:[Lcom/xingbook/ui/b/a;

    aget-object v0, v0, p1

    invoke-virtual {p0, v0}, Lcom/xingbook/ui/c/b;->addView(Landroid/view/View;)V

    :cond_0
    iget-object v0, p0, Lcom/xingbook/ui/c/b;->j:[I

    const/4 v1, 0x1

    aput v1, v0, p1

    return-void
.end method

.method static synthetic a(Lcom/xingbook/ui/c/b;I)V
    .locals 0

    invoke-direct {p0, p1}, Lcom/xingbook/ui/c/b;->a(I)V

    return-void
.end method

.method static synthetic a(Lcom/xingbook/ui/c/b;II)V
    .locals 0

    invoke-direct {p0, p1, p2}, Lcom/xingbook/ui/c/b;->a(II)V

    return-void
.end method

.method static synthetic a(Lcom/xingbook/ui/c/b;ILcom/xingbook/ui/b/a;)V
    .locals 0

    invoke-direct {p0, p1, p2}, Lcom/xingbook/ui/c/b;->a(ILcom/xingbook/ui/b/a;)V

    return-void
.end method

.method static synthetic a(Lcom/xingbook/ui/c/b;Z)V
    .locals 0

    iput-boolean p1, p0, Lcom/xingbook/ui/c/b;->s:Z

    return-void
.end method

.method static synthetic a(Lcom/xingbook/ui/c/b;)Z
    .locals 1

    iget-boolean v0, p0, Lcom/xingbook/ui/c/b;->s:Z

    return v0
.end method

.method static synthetic b(Lcom/xingbook/ui/c/b;)Lcom/xingbook/ui/c/a;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/ui/c/b;->w:Lcom/xingbook/ui/c/a;

    return-object v0
.end method

.method private b(I)V
    .locals 3

    add-int/lit8 v0, p1, 0x3

    rem-int/lit8 v0, v0, 0x3

    iget-object v1, p0, Lcom/xingbook/ui/c/b;->i:[Lcom/xingbook/ui/b/a;

    aget-object v1, v1, v0

    invoke-virtual {v1}, Lcom/xingbook/ui/b/a;->getPage()Lcn/a/a/c/a;

    move-result-object v1

    if-eqz v1, :cond_0

    iget-object v1, p0, Lcom/xingbook/ui/c/b;->k:[I

    aget v1, v1, v0

    if-eq v1, p1, :cond_1

    :cond_0
    sget-object v1, Lcom/xingbook/c/o;->h:Ljava/util/concurrent/ExecutorService;

    new-instance v2, Lcom/xingbook/ui/c/e;

    invoke-direct {v2, p0, v0, p1}, Lcom/xingbook/ui/c/e;-><init>(Lcom/xingbook/ui/c/b;II)V

    invoke-interface {v1, v2}, Ljava/util/concurrent/ExecutorService;->execute(Ljava/lang/Runnable;)V

    :cond_1
    return-void
.end method

.method private declared-synchronized b(II)V
    .locals 4

    monitor-enter p0

    :try_start_0
    iget-object v0, p0, Lcom/xingbook/ui/c/b;->k:[I

    aget v0, v0, p1
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    if-ne v0, p2, :cond_1

    :cond_0
    :goto_0
    monitor-exit p0

    return-void

    :cond_1
    const/4 v0, -0x1

    if-le p2, v0, :cond_0

    :try_start_1
    iget-object v0, p0, Lcom/xingbook/ui/c/b;->e:Lcn/a/a/a;

    invoke-virtual {v0}, Lcn/a/a/a;->i()I

    move-result v0

    if-ge p2, v0, :cond_0

    rem-int/lit8 v0, p1, 0x3

    if-gez v0, :cond_2

    add-int/lit8 v0, v0, 0x3

    :cond_2
    iget-object v1, p0, Lcom/xingbook/ui/c/b;->k:[I

    aput p2, v1, v0

    iget-object v1, p0, Lcom/xingbook/ui/c/b;->j:[I

    const/4 v2, 0x0

    aput v2, v1, v0

    iget-object v1, p0, Lcom/xingbook/ui/c/b;->y:Landroid/os/Handler;

    const/4 v2, 0x0

    const/4 v3, 0x0

    invoke-static {v2, v3, v0, p2}, Landroid/os/Message;->obtain(Landroid/os/Handler;III)Landroid/os/Message;

    move-result-object v0

    invoke-virtual {v1, v0}, Landroid/os/Handler;->sendMessage(Landroid/os/Message;)Z
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    goto :goto_0

    :catchall_0
    move-exception v0

    monitor-exit p0

    throw v0
.end method

.method static synthetic b(Lcom/xingbook/ui/c/b;II)V
    .locals 0

    invoke-direct {p0, p1, p2}, Lcom/xingbook/ui/c/b;->b(II)V

    return-void
.end method

.method private declared-synchronized c(II)V
    .locals 1

    monitor-enter p0

    :try_start_0
    iput p1, p0, Lcom/xingbook/ui/c/b;->l:I

    iput p2, p0, Lcom/xingbook/ui/c/b;->n:I
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    monitor-exit p0

    return-void

    :catchall_0
    move-exception v0

    monitor-exit p0

    throw v0
.end method

.method static synthetic c(Lcom/xingbook/ui/c/b;)Z
    .locals 1

    iget-boolean v0, p0, Lcom/xingbook/ui/c/b;->t:Z

    return v0
.end method

.method static synthetic d(Lcom/xingbook/ui/c/b;)Z
    .locals 1

    iget-boolean v0, p0, Lcom/xingbook/ui/c/b;->u:Z

    return v0
.end method

.method static synthetic e(Lcom/xingbook/ui/c/b;)Lcom/xingbook/c/a;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/ui/c/b;->r:Lcom/xingbook/c/a;

    return-object v0
.end method

.method static synthetic f(Lcom/xingbook/ui/c/b;)I
    .locals 1

    iget v0, p0, Lcom/xingbook/ui/c/b;->q:I

    return v0
.end method

.method static synthetic g(Lcom/xingbook/ui/c/b;)I
    .locals 1

    invoke-direct {p0}, Lcom/xingbook/ui/c/b;->getWaiting()I

    move-result v0

    return v0
.end method

.method private declared-synchronized getWaiting()I
    .locals 1

    monitor-enter p0

    :try_start_0
    iget v0, p0, Lcom/xingbook/ui/c/b;->l:I
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    monitor-exit p0

    return v0

    :catchall_0
    move-exception v0

    monitor-exit p0

    throw v0
.end method

.method private n()V
    .locals 4

    const/4 v3, 0x0

    iput-boolean v3, p0, Lcom/xingbook/ui/c/b;->v:Z

    iget-object v0, p0, Lcom/xingbook/ui/c/b;->a:Landroid/app/Activity;

    check-cast v0, Lcom/xingbook/park/activity/ReadingAct;

    iget-object v1, p0, Lcom/xingbook/ui/c/b;->i:[Lcom/xingbook/ui/b/a;

    iget v2, p0, Lcom/xingbook/ui/c/b;->f:I

    aget-object v1, v1, v2

    invoke-virtual {v1}, Lcom/xingbook/ui/b/a;->getPageOrientation()I

    move-result v1

    invoke-virtual {v0, v1}, Lcom/xingbook/park/activity/ReadingAct;->c(I)V

    iget-object v0, p0, Lcom/xingbook/ui/c/b;->x:Landroid/os/Handler;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/ui/c/b;->x:Landroid/os/Handler;

    const-wide/16 v1, 0x320

    invoke-virtual {v0, v3, v1, v2}, Landroid/os/Handler;->sendEmptyMessageDelayed(IJ)Z

    :cond_0
    return-void
.end method

.method private o()V
    .locals 3

    iget-object v0, p0, Lcom/xingbook/ui/c/b;->b:Landroid/app/ProgressDialog;

    if-nez v0, :cond_0

    new-instance v0, Landroid/app/ProgressDialog;

    iget-object v1, p0, Lcom/xingbook/ui/c/b;->a:Landroid/app/Activity;

    invoke-direct {v0, v1}, Landroid/app/ProgressDialog;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/xingbook/ui/c/b;->b:Landroid/app/ProgressDialog;

    :cond_0
    iget-object v0, p0, Lcom/xingbook/ui/c/b;->b:Landroid/app/ProgressDialog;

    invoke-virtual {v0}, Landroid/app/ProgressDialog;->isShowing()Z

    move-result v0

    if-nez v0, :cond_1

    iget-object v0, p0, Lcom/xingbook/ui/c/b;->b:Landroid/app/ProgressDialog;

    iget-object v1, p0, Lcom/xingbook/ui/c/b;->a:Landroid/app/Activity;

    const v2, 0x7f080063

    invoke-virtual {v1, v2}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/app/ProgressDialog;->setMessage(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/xingbook/ui/c/b;->b:Landroid/app/ProgressDialog;

    invoke-virtual {v0}, Landroid/app/ProgressDialog;->show()V

    :cond_1
    return-void
.end method

.method private p()V
    .locals 1

    iget-object v0, p0, Lcom/xingbook/ui/c/b;->b:Landroid/app/ProgressDialog;

    invoke-virtual {v0}, Landroid/app/ProgressDialog;->isShowing()Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/ui/c/b;->b:Landroid/app/ProgressDialog;

    invoke-virtual {v0}, Landroid/app/ProgressDialog;->dismiss()V

    :cond_0
    return-void
.end method


# virtual methods
.method public a()V
    .locals 4

    const/4 v3, 0x2

    const/4 v2, 0x1

    invoke-virtual {p0}, Lcom/xingbook/ui/c/b;->getCurrentPageType()I

    move-result v0

    iget-boolean v1, p0, Lcom/xingbook/ui/c/b;->u:Z

    if-eqz v1, :cond_0

    iget-object v1, p0, Lcom/xingbook/ui/c/b;->o:Lcom/xingbook/d/c;

    invoke-interface {v1}, Lcom/xingbook/d/c;->b()Z

    move-result v1

    if-eqz v1, :cond_3

    iget-object v1, p0, Lcom/xingbook/ui/c/b;->r:Lcom/xingbook/c/a;

    invoke-virtual {v1}, Lcom/xingbook/c/a;->d()V

    :cond_0
    :goto_0
    const/4 v1, 0x3

    if-eq v0, v1, :cond_1

    const/4 v1, 0x4

    if-ne v0, v1, :cond_4

    :cond_1
    const/4 v0, 0x0

    invoke-virtual {p0, v0}, Lcom/xingbook/ui/c/b;->b(Z)V

    :cond_2
    :goto_1
    return-void

    :cond_3
    iget-object v1, p0, Lcom/xingbook/ui/c/b;->r:Lcom/xingbook/c/a;

    invoke-virtual {v1}, Lcom/xingbook/c/a;->b()V

    goto :goto_0

    :cond_4
    if-ne v0, v3, :cond_2

    iget v0, p0, Lcom/xingbook/ui/c/b;->q:I

    if-nez v0, :cond_2

    iget-object v0, p0, Lcom/xingbook/ui/c/b;->o:Lcom/xingbook/d/c;

    invoke-interface {v0}, Lcom/xingbook/d/c;->c()Z

    move-result v0

    if-eqz v0, :cond_5

    invoke-virtual {p0, v2}, Lcom/xingbook/ui/c/b;->b(Z)V

    goto :goto_1

    :cond_5
    invoke-virtual {p0}, Lcom/xingbook/ui/c/b;->h()V

    iget-object v0, p0, Lcom/xingbook/ui/c/b;->x:Landroid/os/Handler;

    if-eqz v0, :cond_6

    iget-object v0, p0, Lcom/xingbook/ui/c/b;->x:Landroid/os/Handler;

    invoke-virtual {v0, v3}, Landroid/os/Handler;->removeMessages(I)V

    :cond_6
    invoke-virtual {p0, v2, v2}, Lcom/xingbook/ui/c/b;->a(ZZ)V

    goto :goto_1
.end method

.method public a(IZI)V
    .locals 4

    const/4 v1, 0x0

    const/4 v3, -0x1

    if-eqz p2, :cond_0

    move v0, v1

    :goto_0
    const/4 v2, 0x3

    if-lt v0, v2, :cond_3

    :cond_0
    iget v0, p0, Lcom/xingbook/ui/c/b;->f:I

    if-le v0, v3, :cond_1

    invoke-virtual {p0}, Lcom/xingbook/ui/c/b;->f()V

    :cond_1
    iget v0, p0, Lcom/xingbook/ui/c/b;->f:I

    iput v0, p0, Lcom/xingbook/ui/c/b;->g:I

    if-ltz p1, :cond_2

    iget-object v0, p0, Lcom/xingbook/ui/c/b;->e:Lcn/a/a/a;

    invoke-virtual {v0}, Lcn/a/a/a;->i()I

    move-result v0

    if-ge p1, v0, :cond_2

    iget-object v0, p0, Lcom/xingbook/ui/c/b;->d:Lcom/xingbook/d/a;

    invoke-virtual {v0, p1}, Lcom/xingbook/d/a;->l(I)V

    rem-int/lit8 v0, p1, 0x3

    iput v0, p0, Lcom/xingbook/ui/c/b;->f:I

    iput p1, p0, Lcom/xingbook/ui/c/b;->h:I

    iget-object v0, p0, Lcom/xingbook/ui/c/b;->i:[Lcom/xingbook/ui/b/a;

    iget v1, p0, Lcom/xingbook/ui/c/b;->f:I

    aget-object v0, v0, v1

    invoke-virtual {v0}, Lcom/xingbook/ui/b/a;->getPage()Lcn/a/a/c/a;

    move-result-object v0

    if-eqz v0, :cond_4

    iget-object v0, p0, Lcom/xingbook/ui/c/b;->k:[I

    iget v1, p0, Lcom/xingbook/ui/c/b;->f:I

    aget v0, v0, v1

    iget v1, p0, Lcom/xingbook/ui/c/b;->h:I

    if-ne v0, v1, :cond_4

    iget-object v0, p0, Lcom/xingbook/ui/c/b;->j:[I

    iget v1, p0, Lcom/xingbook/ui/c/b;->f:I

    aget v0, v0, v1

    packed-switch v0, :pswitch_data_0

    :cond_2
    :goto_1
    :pswitch_0
    return-void

    :cond_3
    iget-object v2, p0, Lcom/xingbook/ui/c/b;->k:[I

    aput v3, v2, v0

    iget-object v2, p0, Lcom/xingbook/ui/c/b;->j:[I

    aput v1, v2, v0

    add-int/lit8 v0, v0, 0x1

    goto :goto_0

    :pswitch_1
    iget v0, p0, Lcom/xingbook/ui/c/b;->f:I

    invoke-direct {p0, v0, p3}, Lcom/xingbook/ui/c/b;->a(II)V

    goto :goto_1

    :pswitch_2
    iget v0, p0, Lcom/xingbook/ui/c/b;->h:I

    invoke-direct {p0, v0, p3}, Lcom/xingbook/ui/c/b;->c(II)V

    invoke-direct {p0}, Lcom/xingbook/ui/c/b;->o()V

    goto :goto_1

    :cond_4
    iget v0, p0, Lcom/xingbook/ui/c/b;->h:I

    invoke-direct {p0, v0, p3}, Lcom/xingbook/ui/c/b;->c(II)V

    invoke-direct {p0}, Lcom/xingbook/ui/c/b;->o()V

    sget-object v0, Lcom/xingbook/c/o;->h:Ljava/util/concurrent/ExecutorService;

    new-instance v1, Lcom/xingbook/ui/c/c;

    invoke-direct {v1, p0}, Lcom/xingbook/ui/c/c;-><init>(Lcom/xingbook/ui/c/b;)V

    invoke-interface {v0, v1}, Ljava/util/concurrent/ExecutorService;->execute(Ljava/lang/Runnable;)V

    goto :goto_1

    nop

    :pswitch_data_0
    .packed-switch 0x0
        :pswitch_2
        :pswitch_1
        :pswitch_0
    .end packed-switch
.end method

.method public a(Lcom/xingbook/d/a;)V
    .locals 3

    const/4 v2, 0x1

    iput-object p1, p0, Lcom/xingbook/ui/c/b;->d:Lcom/xingbook/d/a;

    invoke-virtual {p1}, Lcom/xingbook/d/a;->q()Lcn/a/a/a;

    move-result-object v0

    iput-object v0, p0, Lcom/xingbook/ui/c/b;->e:Lcn/a/a/a;

    iget-object v0, p0, Lcom/xingbook/ui/c/b;->c:Lcom/xingbook/park/view/k;

    invoke-virtual {p1}, Lcom/xingbook/d/a;->s()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/xingbook/park/view/k;->a(Ljava/lang/String;)V

    invoke-virtual {p1}, Lcom/xingbook/d/a;->t()I

    move-result v0

    iput v0, p0, Lcom/xingbook/ui/c/b;->q:I

    iget v0, p0, Lcom/xingbook/ui/c/b;->q:I

    if-ne v0, v2, :cond_0

    iget-object v0, p0, Lcom/xingbook/ui/c/b;->c:Lcom/xingbook/park/view/k;

    invoke-virtual {v0, v2}, Lcom/xingbook/park/view/k;->a(Z)V

    :cond_0
    return-void
.end method

.method public a(Z)V
    .locals 7

    const/4 v6, 0x1

    if-eqz p1, :cond_1

    iget-object v0, p0, Lcom/xingbook/ui/c/b;->d:Lcom/xingbook/d/a;

    iget-object v1, p0, Lcom/xingbook/ui/c/b;->d:Lcom/xingbook/d/a;

    invoke-virtual {v1}, Lcom/xingbook/d/a;->q()Lcn/a/a/a;

    move-result-object v1

    invoke-virtual {v1}, Lcn/a/a/a;->h()Lcn/a/a/i;

    move-result-object v1

    invoke-virtual {v1}, Lcn/a/a/i;->c()I

    move-result v1

    invoke-virtual {v0, v1}, Lcom/xingbook/d/a;->f(I)Lcn/a/a/a/d;

    move-result-object v4

    if-eqz v4, :cond_0

    iput-boolean v6, p0, Lcom/xingbook/ui/c/b;->u:Z

    iget-object v0, p0, Lcom/xingbook/ui/c/b;->r:Lcom/xingbook/c/a;

    invoke-virtual {v4}, Lcn/a/a/a/d;->a()Ljava/io/FileDescriptor;

    move-result-object v1

    invoke-virtual {v4}, Lcn/a/a/a/d;->c()J

    move-result-wide v2

    invoke-virtual {v4}, Lcn/a/a/a/d;->d()J

    move-result-wide v4

    invoke-virtual/range {v0 .. v6}, Lcom/xingbook/c/a;->a(Ljava/io/FileDescriptor;JJZ)V

    :goto_0
    return-void

    :cond_0
    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/xingbook/ui/c/b;->u:Z

    goto :goto_0

    :cond_1
    iget-object v0, p0, Lcom/xingbook/ui/c/b;->r:Lcom/xingbook/c/a;

    invoke-virtual {v0}, Lcom/xingbook/c/a;->b()V

    goto :goto_0
.end method

.method public a(ZZ)V
    .locals 5

    const/4 v4, 0x2

    iget-object v0, p0, Lcom/xingbook/ui/c/b;->o:Lcom/xingbook/d/c;

    invoke-interface {v0}, Lcom/xingbook/d/c;->a()Z

    move-result v0

    if-nez v0, :cond_1

    :cond_0
    :goto_0
    return-void

    :cond_1
    if-eqz p2, :cond_2

    iget-object v0, p0, Lcom/xingbook/ui/c/b;->i:[Lcom/xingbook/ui/b/a;

    iget v1, p0, Lcom/xingbook/ui/c/b;->f:I

    aget-object v0, v0, v1

    invoke-virtual {v0}, Lcom/xingbook/ui/b/a;->l()Z

    move-result v0

    if-nez v0, :cond_0

    :cond_2
    const/4 v0, 0x0

    iget-object v1, p0, Lcom/xingbook/ui/c/b;->e:Lcn/a/a/a;

    invoke-virtual {v1}, Lcn/a/a/a;->h()Lcn/a/a/i;

    move-result-object v1

    invoke-virtual {v1}, Lcn/a/a/i;->b()I

    move-result v1

    const/16 v2, 0xff

    if-eq v1, v2, :cond_4

    if-eqz p1, :cond_3

    iget-object v2, p0, Lcom/xingbook/ui/c/b;->i:[Lcom/xingbook/ui/b/a;

    iget v3, p0, Lcom/xingbook/ui/c/b;->f:I

    aget-object v2, v2, v3

    instance-of v2, v2, Lcom/xingbook/d/e;

    if-eqz v2, :cond_3

    iget-object v0, p0, Lcom/xingbook/ui/c/b;->i:[Lcom/xingbook/ui/b/a;

    iget v2, p0, Lcom/xingbook/ui/c/b;->f:I

    aget-object v0, v0, v2

    check-cast v0, Lcom/xingbook/d/e;

    invoke-interface {v0}, Lcom/xingbook/d/e;->getFgAudioDuration()I

    move-result v0

    :cond_3
    iget-object v2, p0, Lcom/xingbook/ui/c/b;->x:Landroid/os/Handler;

    mul-int/lit16 v1, v1, 0x3e8

    add-int/2addr v0, v1

    int-to-long v0, v0

    invoke-virtual {v2, v4, v0, v1}, Landroid/os/Handler;->sendEmptyMessageDelayed(IJ)Z

    goto :goto_0

    :cond_4
    if-eqz p1, :cond_5

    iget-object v1, p0, Lcom/xingbook/ui/c/b;->i:[Lcom/xingbook/ui/b/a;

    iget v2, p0, Lcom/xingbook/ui/c/b;->f:I

    aget-object v1, v1, v2

    instance-of v1, v1, Lcom/xingbook/d/e;

    if-eqz v1, :cond_5

    iget-object v0, p0, Lcom/xingbook/ui/c/b;->i:[Lcom/xingbook/ui/b/a;

    iget v1, p0, Lcom/xingbook/ui/c/b;->f:I

    aget-object v0, v0, v1

    check-cast v0, Lcom/xingbook/d/e;

    invoke-interface {v0}, Lcom/xingbook/d/e;->getFgAudioDuration()I

    move-result v0

    :cond_5
    iget-object v1, p0, Lcom/xingbook/ui/c/b;->x:Landroid/os/Handler;

    int-to-long v2, v0

    invoke-virtual {v1, v4, v2, v3}, Landroid/os/Handler;->sendEmptyMessageDelayed(IJ)Z

    goto :goto_0
.end method

.method public b()V
    .locals 4

    const/4 v3, 0x0

    const/4 v2, 0x1

    iget-boolean v0, p0, Lcom/xingbook/ui/c/b;->v:Z

    if-nez v0, :cond_0

    iget v0, p0, Lcom/xingbook/ui/c/b;->h:I

    iget-object v1, p0, Lcom/xingbook/ui/c/b;->e:Lcn/a/a/a;

    invoke-virtual {v1}, Lcn/a/a/a;->i()I

    move-result v1

    add-int/lit8 v1, v1, -0x1

    if-ne v0, v1, :cond_1

    iput-boolean v2, p0, Lcom/xingbook/ui/c/b;->s:Z

    invoke-virtual {p0}, Lcom/xingbook/ui/c/b;->f()V

    iget-object v0, p0, Lcom/xingbook/ui/c/b;->a:Landroid/app/Activity;

    check-cast v0, Lcom/xingbook/d/f;

    invoke-interface {v0, v2}, Lcom/xingbook/d/f;->a(I)V

    :cond_0
    :goto_0
    return-void

    :cond_1
    iput-boolean v2, p0, Lcom/xingbook/ui/c/b;->v:Z

    iget v0, p0, Lcom/xingbook/ui/c/b;->h:I

    add-int/lit8 v0, v0, 0x1

    iput v0, p0, Lcom/xingbook/ui/c/b;->h:I

    iget v0, p0, Lcom/xingbook/ui/c/b;->h:I

    invoke-virtual {p0, v0, v3, v3}, Lcom/xingbook/ui/c/b;->a(IZI)V

    goto :goto_0
.end method

.method public b(Z)V
    .locals 3

    const/4 v2, 0x1

    if-eqz p1, :cond_1

    iget-object v0, p0, Lcom/xingbook/ui/c/b;->x:Landroid/os/Handler;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/ui/c/b;->x:Landroid/os/Handler;

    const/4 v1, 0x2

    invoke-virtual {v0, v1}, Landroid/os/Handler;->removeMessages(I)V

    :cond_0
    invoke-virtual {p0, v2, v2}, Lcom/xingbook/ui/c/b;->a(ZZ)V

    :cond_1
    iget-object v0, p0, Lcom/xingbook/ui/c/b;->i:[Lcom/xingbook/ui/b/a;

    iget v1, p0, Lcom/xingbook/ui/c/b;->f:I

    aget-object v0, v0, v1

    instance-of v0, v0, Lcom/xingbook/d/e;

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/xingbook/ui/c/b;->i:[Lcom/xingbook/ui/b/a;

    iget v1, p0, Lcom/xingbook/ui/c/b;->f:I

    aget-object v0, v0, v1

    check-cast v0, Lcom/xingbook/d/e;

    invoke-interface {v0}, Lcom/xingbook/d/e;->a()V

    :cond_2
    return-void
.end method

.method public c()V
    .locals 3

    const/4 v2, 0x1

    const/4 v1, 0x0

    iget-boolean v0, p0, Lcom/xingbook/ui/c/b;->v:Z

    if-nez v0, :cond_0

    iget v0, p0, Lcom/xingbook/ui/c/b;->h:I

    if-nez v0, :cond_1

    invoke-virtual {p0}, Lcom/xingbook/ui/c/b;->f()V

    iget-object v0, p0, Lcom/xingbook/ui/c/b;->a:Landroid/app/Activity;

    check-cast v0, Lcom/xingbook/d/f;

    invoke-interface {v0, v1}, Lcom/xingbook/d/f;->a(I)V

    :cond_0
    :goto_0
    return-void

    :cond_1
    iput-boolean v2, p0, Lcom/xingbook/ui/c/b;->v:Z

    iget v0, p0, Lcom/xingbook/ui/c/b;->h:I

    add-int/lit8 v0, v0, -0x1

    iput v0, p0, Lcom/xingbook/ui/c/b;->h:I

    iget v0, p0, Lcom/xingbook/ui/c/b;->h:I

    invoke-virtual {p0, v0, v1, v2}, Lcom/xingbook/ui/c/b;->a(IZI)V

    goto :goto_0
.end method

.method public d()V
    .locals 3

    const/4 v2, 0x1

    iput-boolean v2, p0, Lcom/xingbook/ui/c/b;->t:Z

    iget-object v0, p0, Lcom/xingbook/ui/c/b;->i:[Lcom/xingbook/ui/b/a;

    iget v1, p0, Lcom/xingbook/ui/c/b;->f:I

    aget-object v0, v0, v1

    invoke-virtual {v0}, Lcom/xingbook/ui/b/a;->clearAnimation()V

    iget v0, p0, Lcom/xingbook/ui/c/b;->g:I

    const/4 v1, -0x1

    if-le v0, v1, :cond_0

    iget-object v0, p0, Lcom/xingbook/ui/c/b;->i:[Lcom/xingbook/ui/b/a;

    iget v1, p0, Lcom/xingbook/ui/c/b;->g:I

    aget-object v0, v0, v1

    invoke-virtual {v0}, Lcom/xingbook/ui/b/a;->clearAnimation()V

    :cond_0
    iget-object v0, p0, Lcom/xingbook/ui/c/b;->w:Lcom/xingbook/ui/c/a;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/xingbook/ui/c/b;->w:Lcom/xingbook/ui/c/a;

    invoke-virtual {v0}, Lcom/xingbook/ui/c/a;->b()V

    :cond_1
    iget-object v0, p0, Lcom/xingbook/ui/c/b;->i:[Lcom/xingbook/ui/b/a;

    iget v1, p0, Lcom/xingbook/ui/c/b;->f:I

    aget-object v0, v0, v1

    invoke-virtual {v0}, Lcom/xingbook/ui/b/a;->d()V

    iget-object v0, p0, Lcom/xingbook/ui/c/b;->c:Lcom/xingbook/park/view/k;

    invoke-virtual {v0}, Lcom/xingbook/park/view/k;->c()V

    invoke-virtual {p0}, Lcom/xingbook/ui/c/b;->h()V

    iget-object v0, p0, Lcom/xingbook/ui/c/b;->r:Lcom/xingbook/c/a;

    invoke-virtual {v0}, Lcom/xingbook/c/a;->c()V

    iget-object v0, p0, Lcom/xingbook/ui/c/b;->i:[Lcom/xingbook/ui/b/a;

    iget v1, p0, Lcom/xingbook/ui/c/b;->f:I

    aget-object v0, v0, v1

    invoke-virtual {v0}, Lcom/xingbook/ui/b/a;->clearAnimation()V

    iget-object v0, p0, Lcom/xingbook/ui/c/b;->x:Landroid/os/Handler;

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/xingbook/ui/c/b;->x:Landroid/os/Handler;

    invoke-virtual {v0, v2}, Landroid/os/Handler;->removeMessages(I)V

    iget-object v0, p0, Lcom/xingbook/ui/c/b;->x:Landroid/os/Handler;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/os/Handler;->removeMessages(I)V

    iget-object v0, p0, Lcom/xingbook/ui/c/b;->x:Landroid/os/Handler;

    const/4 v1, 0x2

    invoke-virtual {v0, v1}, Landroid/os/Handler;->removeMessages(I)V

    :cond_2
    return-void
.end method

.method public e()V
    .locals 6

    const/4 v5, 0x2

    const/4 v4, 0x0

    const/4 v3, 0x1

    iput-boolean v4, p0, Lcom/xingbook/ui/c/b;->t:Z

    invoke-virtual {p0}, Lcom/xingbook/ui/c/b;->getCurrentPageType()I

    move-result v0

    iget-object v1, p0, Lcom/xingbook/ui/c/b;->x:Landroid/os/Handler;

    if-eqz v1, :cond_0

    iget-object v1, p0, Lcom/xingbook/ui/c/b;->x:Landroid/os/Handler;

    invoke-virtual {v1, v5}, Landroid/os/Handler;->removeMessages(I)V

    :cond_0
    iget-object v1, p0, Lcom/xingbook/ui/c/b;->i:[Lcom/xingbook/ui/b/a;

    iget v2, p0, Lcom/xingbook/ui/c/b;->f:I

    aget-object v1, v1, v2

    invoke-virtual {v1}, Lcom/xingbook/ui/b/a;->e()V

    :try_start_0
    iget-boolean v1, p0, Lcom/xingbook/ui/c/b;->u:Z

    if-eqz v1, :cond_1

    iget-object v1, p0, Lcom/xingbook/ui/c/b;->o:Lcom/xingbook/d/c;

    invoke-interface {v1}, Lcom/xingbook/d/c;->b()Z

    move-result v1

    if-eqz v1, :cond_3

    iget-object v1, p0, Lcom/xingbook/ui/c/b;->r:Lcom/xingbook/c/a;

    invoke-virtual {v1}, Lcom/xingbook/c/a;->d()V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :cond_1
    :goto_0
    if-ne v0, v5, :cond_5

    iget v0, p0, Lcom/xingbook/ui/c/b;->q:I

    if-nez v0, :cond_2

    iget-object v0, p0, Lcom/xingbook/ui/c/b;->o:Lcom/xingbook/d/c;

    invoke-interface {v0}, Lcom/xingbook/d/c;->c()Z

    move-result v0

    if-eqz v0, :cond_4

    invoke-virtual {p0, v3}, Lcom/xingbook/ui/c/b;->b(Z)V

    :cond_2
    :goto_1
    return-void

    :cond_3
    :try_start_1
    iget-object v1, p0, Lcom/xingbook/ui/c/b;->r:Lcom/xingbook/c/a;

    invoke-virtual {v1}, Lcom/xingbook/c/a;->b()V
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_0

    goto :goto_0

    :catch_0
    move-exception v1

    goto :goto_0

    :cond_4
    invoke-virtual {p0}, Lcom/xingbook/ui/c/b;->h()V

    invoke-virtual {p0, v3, v3}, Lcom/xingbook/ui/c/b;->a(ZZ)V

    goto :goto_1

    :cond_5
    if-ne v0, v3, :cond_6

    invoke-virtual {p0, v4, v3}, Lcom/xingbook/ui/c/b;->a(ZZ)V

    goto :goto_1

    :cond_6
    const/4 v1, 0x3

    if-eq v0, v1, :cond_7

    const/4 v1, 0x4

    if-ne v0, v1, :cond_8

    :cond_7
    invoke-virtual {p0, v4}, Lcom/xingbook/ui/c/b;->b(Z)V

    goto :goto_1

    :cond_8
    const/16 v1, 0x8

    if-ne v0, v1, :cond_2

    invoke-virtual {p0, v4, v3}, Lcom/xingbook/ui/c/b;->a(ZZ)V

    goto :goto_1
.end method

.method public f()V
    .locals 3

    const/4 v2, 0x1

    iget-object v0, p0, Lcom/xingbook/ui/c/b;->i:[Lcom/xingbook/ui/b/a;

    iget v1, p0, Lcom/xingbook/ui/c/b;->f:I

    aget-object v0, v0, v1

    invoke-virtual {v0}, Lcom/xingbook/ui/b/a;->clearAnimation()V

    iget-object v0, p0, Lcom/xingbook/ui/c/b;->x:Landroid/os/Handler;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/ui/c/b;->x:Landroid/os/Handler;

    invoke-virtual {v0, v2}, Landroid/os/Handler;->removeMessages(I)V

    iget-object v0, p0, Lcom/xingbook/ui/c/b;->x:Landroid/os/Handler;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/os/Handler;->removeMessages(I)V

    iget-object v0, p0, Lcom/xingbook/ui/c/b;->x:Landroid/os/Handler;

    const/4 v1, 0x2

    invoke-virtual {v0, v1}, Landroid/os/Handler;->removeMessages(I)V

    :cond_0
    iget v0, p0, Lcom/xingbook/ui/c/b;->q:I

    if-ne v0, v2, :cond_1

    iget-object v0, p0, Lcom/xingbook/ui/c/b;->c:Lcom/xingbook/park/view/k;

    invoke-virtual {v0}, Lcom/xingbook/park/view/k;->c()V

    :cond_1
    iget-object v0, p0, Lcom/xingbook/ui/c/b;->i:[Lcom/xingbook/ui/b/a;

    iget v1, p0, Lcom/xingbook/ui/c/b;->f:I

    aget-object v0, v0, v1

    invoke-virtual {v0}, Lcom/xingbook/ui/b/a;->h()V

    return-void
.end method

.method public g()V
    .locals 2

    iget-object v0, p0, Lcom/xingbook/ui/c/b;->o:Lcom/xingbook/d/c;

    invoke-interface {v0}, Lcom/xingbook/d/c;->a()Z

    move-result v0

    if-eqz v0, :cond_0

    const/4 v0, 0x0

    const/4 v1, 0x1

    invoke-virtual {p0, v0, v1}, Lcom/xingbook/ui/c/b;->a(ZZ)V

    :cond_0
    return-void
.end method

.method public getCurrentPage()I
    .locals 1

    iget v0, p0, Lcom/xingbook/ui/c/b;->h:I

    return v0
.end method

.method public getCurrentPageType()I
    .locals 2

    iget-object v0, p0, Lcom/xingbook/ui/c/b;->i:[Lcom/xingbook/ui/b/a;

    iget v1, p0, Lcom/xingbook/ui/c/b;->f:I

    aget-object v0, v0, v1

    invoke-virtual {v0}, Lcom/xingbook/ui/b/a;->getPageType()I

    move-result v0

    return v0
.end method

.method public getCurrentPageView()Lcom/xingbook/ui/b/a;
    .locals 2

    iget-object v0, p0, Lcom/xingbook/ui/c/b;->i:[Lcom/xingbook/ui/b/a;

    iget v1, p0, Lcom/xingbook/ui/c/b;->f:I

    aget-object v0, v0, v1

    return-object v0
.end method

.method public getReadSetting()Lcom/xingbook/d/c;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/ui/c/b;->o:Lcom/xingbook/d/c;

    return-object v0
.end method

.method public getSetting()Lcom/xingbook/d/c;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/ui/c/b;->o:Lcom/xingbook/d/c;

    return-object v0
.end method

.method public h()V
    .locals 2

    iget-object v0, p0, Lcom/xingbook/ui/c/b;->i:[Lcom/xingbook/ui/b/a;

    iget v1, p0, Lcom/xingbook/ui/c/b;->f:I

    aget-object v0, v0, v1

    instance-of v0, v0, Lcom/xingbook/d/e;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/ui/c/b;->i:[Lcom/xingbook/ui/b/a;

    iget v1, p0, Lcom/xingbook/ui/c/b;->f:I

    aget-object v0, v0, v1

    check-cast v0, Lcom/xingbook/d/e;

    invoke-interface {v0}, Lcom/xingbook/d/e;->b()V

    :cond_0
    return-void
.end method

.method public i()Z
    .locals 1

    invoke-virtual {p0}, Lcom/xingbook/ui/c/b;->getCurrentPageView()Lcom/xingbook/ui/b/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/xingbook/ui/b/a;->k()Z

    move-result v0

    return v0
.end method

.method public j()V
    .locals 2

    iget-object v0, p0, Lcom/xingbook/ui/c/b;->c:Lcom/xingbook/park/view/k;

    invoke-virtual {v0}, Lcom/xingbook/park/view/k;->b()V

    iget-object v0, p0, Lcom/xingbook/ui/c/b;->i:[Lcom/xingbook/ui/b/a;

    iget v1, p0, Lcom/xingbook/ui/c/b;->f:I

    aget-object v0, v0, v1

    invoke-virtual {v0}, Lcom/xingbook/ui/b/a;->c()V

    invoke-virtual {p0}, Lcom/xingbook/ui/c/b;->postInvalidate()V

    return-void
.end method

.method public k()V
    .locals 0

    return-void
.end method

.method public l()V
    .locals 1

    iget-object v0, p0, Lcom/xingbook/ui/c/b;->r:Lcom/xingbook/c/a;

    invoke-virtual {v0}, Lcom/xingbook/c/a;->c()V

    return-void
.end method

.method public m()V
    .locals 1

    iget-object v0, p0, Lcom/xingbook/ui/c/b;->o:Lcom/xingbook/d/c;

    invoke-interface {v0}, Lcom/xingbook/d/c;->b()Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/ui/c/b;->r:Lcom/xingbook/c/a;

    invoke-virtual {v0}, Lcom/xingbook/c/a;->d()V

    :cond_0
    return-void
.end method

.method public onAnimationEnd(Landroid/view/animation/Animation;)V
    .locals 1

    invoke-direct {p0}, Lcom/xingbook/ui/c/b;->n()V

    const/4 v0, 0x0

    invoke-virtual {p1, v0}, Landroid/view/animation/Animation;->setAnimationListener(Landroid/view/animation/Animation$AnimationListener;)V

    return-void
.end method

.method public onAnimationRepeat(Landroid/view/animation/Animation;)V
    .locals 0

    return-void
.end method

.method public onAnimationStart(Landroid/view/animation/Animation;)V
    .locals 0

    return-void
.end method

.method protected onLayout(ZIIII)V
    .locals 0

    return-void
.end method

.method protected onMeasure(II)V
    .locals 3

    const/4 v1, 0x0

    move v0, v1

    :goto_0
    invoke-virtual {p0}, Lcom/xingbook/ui/c/b;->getChildCount()I

    move-result v2

    if-lt v0, v2, :cond_0

    invoke-super {p0, p1, p2}, Landroid/view/ViewGroup;->onMeasure(II)V

    return-void

    :cond_0
    invoke-virtual {p0, v0}, Lcom/xingbook/ui/c/b;->getChildAt(I)Landroid/view/View;

    move-result-object v2

    invoke-virtual {v2, v1, v1}, Landroid/view/View;->measure(II)V

    add-int/lit8 v0, v0, 0x1

    goto :goto_0
.end method

.method public setGameSelectedMark(I)V
    .locals 0

    return-void
.end method

.method public setReadSetting(Lcom/xingbook/d/c;)V
    .locals 0

    iput-object p1, p0, Lcom/xingbook/ui/c/b;->o:Lcom/xingbook/d/c;

    return-void
.end method
